﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace CPPProject.CppModel
{
    /// <summary>
    /// 个体扫码插入表
    /// </summary>
    [Table("T_Biz_ItemTracking")]
    public class T_Biz_ItemTracking : Entity<Guid>
    {
        /// <summary>
        /// 个体编码
        /// </summary>
        [MaxLength(100)]
        public string CItemSNo { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
        /// <summary>
        /// 扫码站点
        /// </summary>
        [MaxLength(100)]
        public string NLocation { get; set; }
        /// <summary>
        /// 1进库 0出库
        /// </summary>
        public bool CType { get; set; }
        /// <summary>
        /// 扫码日期
        /// </summary>
        public DateTime DDate { get; set; }
        /// <summary>
        /// 流转编码
        /// </summary>
        [MaxLength(300)]
        public string CTransCode { get; set; }
        /// <summary>
        /// 资产编码
        /// </summary>
        [MaxLength(300)]
        public string CItemCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [MaxLength(300)]
        public string CMappingID { get; set; }
        /// <summary>
        /// 扫码机器编码
        /// </summary>
        [MaxLength(300)]
        public string CPosCode { get; set; }

    }
}
